package com.niiwoo.civet.base.dto;

import com.niiwoo.civet.base.enums.FeeTypeEnum;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 费用明细DTO
 * Created by wangjichao on 2018/4/20.
 */
@Getter
@Setter
public class BaseFeeDetailDTO implements Serializable {

    private static final long serialVersionUID = 7726341252628499280L;

    /**
     * 费用类型
     */
    @NotNull
    private FeeTypeEnum feeTypeEnum;

    /**
     * 金额
     */
    @NotNull
    private BigDecimal amount;
}
